//
//  CommanAction.swift
//  TLenPoint
//
//  Created by Docker on 2018/3/21.
//  Copyright © 2018年 Docker. All rights reserved.
//

import UIKit
import SDWebImage
 let ScranWidth = UIScreen.main.bounds.size.width
 let scranHeight = UIScreen.main.bounds.size.height
 let BaseUrl = "http://appjk.lep365.com"
 let LPRotatoViewCELLIdetifer = "LPRotatoViewCELLIdetifer"
 let LPHomeTabelViewCell = "LPHomeTabelViewCell"
 let HPHomeOneTableViewCellIdetifer = "HPHomeOneTableViewCellIdetifer"
 let HPHomeSimulationCellIdetifer = "HPHomeSimulationCellIdetifer"
 let HPTwoTableViewCellIdetifer = "HPTwoTableViewCellIdetifer"
class CommanAction: NSObject {
    /// 打印内容，并包含类名和打印所在行数
    ///
    /// - Parameters:
    ///   - message: 打印消息
    ///   - file: 打印所属类
    ///   - lineNumber: 打印语句所在行数
    func LPLogLine<T>(message : T, file : String = #file, lineNumber : Int = #line) {
        
        #if DEBUG
            
            let fileName = (file as NSString).lastPathComponent
            print("[\(fileName):line:\(lineNumber)]- \(message)")
            
        #endif
    }
   
   
}
